import React, { Component } from 'react';
import {Row,Col} from 'antd'
import {Route} from 'react-router-dom'

import BackNav from './BackNav/BackNav';
import BackMenu from './BackMenu/BackMenu'
import BackHome from './BackHome/BackHome'
import Commodity from './Commodity/Commdoity';
import Information from './Information/Information';
import './Back.css';

class Back extends Component {
    render() {
        return (
            <div style={{ backgroundColor: '#f5f7fa',height:'100vh' }}>
                <BackNav></BackNav>
                <Row>
                    <Col span={2}>
                        <Route path="/back" component={BackMenu}></Route>
                    </Col>
                    <Col span={22}>
                       {/* <Route path="/back/home" component={BackHome}></Route> */}
                       <Route path="/back/commodity" component={Commodity}></Route>
                       <Route path="/back/information" component={Information}></Route>
                       
                    </Col>
                </Row>
            </div>
        );
    }
}

export default Back;
